/*
class MyArray<T extends Number>{


    public Object[] array = new Object[10];

    public void set(int pos, T val) {
        array[pos] = val;
    }

    public T get(int pos) {
        return (T)array[pos];
    }
}
*/


public class Test {
    public static void main(String[] args){
        








   /* MyArray<Integer> myArray1 = new MyArray<>();
    //myArray1.set(0,"haha");
    myArray1.set(1,2);

    int a = myArray1.get(1);

    MyArray<String> myArray2 = new MyArray<>();
    myArray2.set(0,"haha");
    //myArray2.set(1,2);

    String b = myArray2.get(0);


*/















       /* int a = 10;
        //显示转型
        Integer b = Integer.valueOf(a);

        //自动拆箱
        Integer b = a;


        Integer c = 10;
        //显示转型
        int d = c.intValue();

        //自动装箱
        int d = c;*/

       /* Integer a = 100;
        Integer b = 100;

        Integer c = 500;
        Integer d = 500;

        System.out.println(a == b);
        System.out.println(c == d);
*/

















        /*nt count = 0;
        int N = 10;
        for(int i = 0;i < N;i++){
            for (int j = 0; j < N; j++) {
                count++;
            }

            for (int j = 0; j < 2*N; j++) {
                count++;
            }

        while(N > 0){
            N--;
            count++;
        }

        }*/
    }
}
